/*
 *  Timer.h
 *  powaah
 *
 *  Created by Tim Uusitalo on 4/19/11.
 *  Copyright 2011 __MyCompanyName__. All rights reserved.
 *
 */

#ifndef TIMER_H

#define TIMER_H

#include <ctime>

#include <sys/time.h>

class Timer
{
public:
	Timer();
	~Timer();
	
	void startTimer();
	
	const float elapsedTime();
	
	const float accumulate();
	
	
private:
	timeval start;
	float last_acc;
	
};

#endif